<ol>
	<span id="state">Click a listitem please.</span>
	<li></li>
	<li></li>
	<li></li>
	<li></li>
	<li></li>
	<li></li>
</ol>

<script>
	var _state = this.find('#state');
	var _li = this.find('li').html('hover & click ').css({'color':'#D60000'}).click(
		function(){_state.html('You clicked me at '+$(this).index()+'.');}
	).hover(
		function(){
			$(this).css({'background-color':'#3366FF'});
		},
		function(){
			$(this).css({'background-color':''});
	});
</script>